package com.woniuedu.lecturer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuedu.lecturer.entity.Teacher;

import java.util.List;

/**
* @author 王成亮
* @description 针对表【edu_teacher(讲师)】的数据库操作Mapper
* @createDate 2022-04-18 17:01:34
* @Entity teacher.entity.Teacher
*/
public interface TeacherMapper extends BaseMapper<Teacher> {
    //分页查询所有讲师
    List<Teacher> findAll(Page<Teacher> page);
    //按照条件分页查询所有讲师
    List<Teacher> findAllByIdOrLevelOrNameOrGmtCreateOrGmtModified(Teacher teacher);
}




